From 72c4d79ff2d81178422a9c69b6bd4623a5969d43 Mon Sep 17 00:00:00 2001 From: "awilliam@xenbuild.aw" Date: Mon, 20 Nov 2006 21:10:59 -0700 Subject: [PATCH] [IA64] fix broken PAL_HALT_LIGHT xen-unstable.hg cset 12471:cf98903ebb22 changed do_block() to only pend a schedule softirq. We now need to explicitly call do_softirq() for force the schedule, otherwise we stop the hlt_timer before it does it's thing. Signed-off-by: Alex Williamson --- xen/arch/ia64/xen/hypercall.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xen/arch/ia64/xen/hypercall.c b/xen/arch/ia64/xen/hypercall.c index d04ed8b11d..ba4daba297 100644 --- a/xen/arch/ia64/xen/hypercall.c +++ b/xen/arch/ia64/xen/hypercall.c @@ -248,6 +248,8 @@ ia64_hypercall(struct pt_regs *regs) set_timer(&v->arch.hlt_timer, vcpu_get_next_timer_ns(v)); do_sched_op_compat(SCHEDOP_block, 0); + /* do_block only pends a softirq */ + do_softirq(); stop_timer(&v->arch.hlt_timer); } regs->r8 = 0; -- 2.30.2